<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition template="/views/templates/main.xhtml">
	<ui:define name="body">
		<style>
.cols {
	vertical-align: top;
}
</style>
<h:outputStylesheet>
.label {
    font-weight: bold;
}
.rf-dg, .rf-dg-c{
    border:none;
}
.pbody {
    width: 180px;
}
</h:outputStylesheet>
	 		<h:form>
				<rich:panel header="NOTICIAS INTERNACIONALES">	
					<c:forEach items="#{rssNewsBean.news}" var="feed">
						<c:forEach items="#{feed.entries}" var="news">
							<rich:collapsiblePanel header="#{news.title}" expanded="false" switchType="ajax">
					              <h:outputText value="#{news.description}"/>
					              <h:outputLink value="#{news.link}">
	  								<f:verbatim>LEER MAS</f:verbatim>
								  </h:outputLink>		           
			        		</rich:collapsiblePanel>					
						</c:forEach>				
					</c:forEach>
				</rich:panel>		        
    	</h:form>
</ui:define>
</ui:composition>
</html>